﻿using UnityEngine;
using System.Collections;



public class Event : object
{//数组实现hash  事件，提高效率
    public static int MAX_EVENT_LENGTH = 100;//最大事件长度

    public const int ID_BATTLE_START = 0;//战斗开始
    public const int ID_BATTLE_END = 1;// 战斗结束
    public const int ID_PLAYER_DEATH = 2;// 玩家死亡
    public const int ID_DISABLE_DIRINPUT = 3;//禁止摇杆
    public const int ID_ABLE_DIRINPUT = 4;//开启摇杆
    public const int ID_CHAT_BTN_send = 5;//聊天框点击发送按钮
    public const int ID_CHAT_BTN_close = 6;// 聊天框点击 取消按钮
    public const int ID_PUSH_MSG = 7;//显示推送消息
    public const int ID_BTN_CHAT_ROOT_CLICKED = 8;//主界面 聊天按钮点击

    public const int ID_UI_WAIT = 9;//等待消息
    public const int ID_UI_NOWAIT = 10;//停止等待

    public const int ID_PRESS_CHILD = 11;//按下孢子
    public const int ID_ONE_SPLIT_DEATH = 12;//一个分裂体死亡

    public const int ID_ADD_ASYNC = 13;//添加loading动态执行 函数 ="addAsync"

    public const int ID_LOADING_NOW = 14;//加入游戏中
    public const int ID_LOADING_OK = 15;// 加入游戏完毕
    public const int ID_NET_DISCONNECT = 16;//网络断开连接
    public const int ID_EXIT = 17;//游戏退出
















}